import request from '@/utils/request'

export function listComplaint(params) {
    return request({
        url:'/bid/complaint/front/list',
        methods:'get',
        params
    })
}

export function getComplaint(id) {
    return request({
      url: '/bid/complaint/front/' + id,
      method: 'get'
    })
  }
  
export function addComplaint(data) {
    return request({
      url: '/bid/complaint/front/add',
      method: 'post',
      data: data
    })
  }